.class public final Llt/noframe/ratemeplease/FacebookDialogFragment;
.super Llt/noframe/ratemeplease/abs/AbsDialogFragment;
.source "FacebookDialogFragment.kt"


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "ValidFragment"
    }
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Llt/noframe/ratemeplease/FacebookDialogFragment$REACTION;
    }
.end annotation


# instance fields
.field private _$_findViewCache:Ljava/util/HashMap;

.field public facebookProcessor:Llt/noframe/ratemeplease/social/FacebookProcessor;

.field private final messageText:Ljava/lang/String;

.field private final pageId:Ljava/lang/String;

.field private final pageName:Ljava/lang/String;

.field private final shareDescription:Ljava/lang/String;


# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    const-string v0, "pageId"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "messageText"

    invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "shareDescription"

    invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "pageName"

    invoke-static {p4, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 22
    invoke-direct {p0}, Llt/noframe/ratemeplease/abs/AbsDialogFragment;-><init>()V

    iput-object p1, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->pageId:Ljava/lang/String;

    iput-object p2, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->messageText:Ljava/lang/String;

    iput-object p3, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->shareDescription:Ljava/lang/String;

    iput-object p4, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->pageName:Ljava/lang/String;

    const/4 p1, 0x1

    .line 35
    invoke-virtual {p0, p1}, Llt/noframe/ratemeplease/abs/AbsDialogFragment;->setDismissible(Z)V

    return-void
.end method


# virtual methods
.method public _$_clearFindViewByIdCache()V
    .locals 1

    iget-object v0, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->_$_findViewCache:Ljava/util/HashMap;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/util/HashMap;->clear()V

    :cond_0
    return-void
.end method

.method public final getFacebookProcessor()Llt/noframe/ratemeplease/social/FacebookProcessor;
    .locals 1

    .line 40
    iget-object v0, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->facebookProcessor:Llt/noframe/ratemeplease/social/FacebookProcessor;

    if-eqz v0, :cond_0

    return-object v0

    :cond_0
    const-string v0, "facebookProcessor"

    invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V

    const/4 v0, 0x0

    throw v0
.end method

.method public final getMessageText()Ljava/lang/String;
    .locals 1

    .line 22
    iget-object v0, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->messageText:Ljava/lang/String;

    return-object v0
.end method

.method public final getPageId()Ljava/lang/String;
    .locals 1

    .line 22
    iget-object v0, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->pageId:Ljava/lang/String;

    return-object v0
.end method

.method public final getPageName()Ljava/lang/String;
    .locals 1

    .line 22
    iget-object v0, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->pageName:Ljava/lang/String;

    return-object v0
.end method

.method public final getShareDescription()Ljava/lang/String;
    .locals 1

    .line 22
    iget-object v0, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->shareDescription:Ljava/lang/String;

    return-object v0
.end method

.method public onActivityResult(IILandroid/content/Intent;)V
    .locals 1

    .line 43
    invoke-super {p0, p1, p2, p3}, Landroidx/fragment/app/Fragment;->onActivityResult(IILandroid/content/Intent;)V

    .line 44
    iget-object v0, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->facebookProcessor:Llt/noframe/ratemeplease/social/FacebookProcessor;

    if-eqz v0, :cond_0

    invoke-virtual {v0, p1, p2, p3}, Llt/noframe/ratemeplease/social/FacebookProcessor;->onActivityResult(IILandroid/content/Intent;)V

    return-void

    :cond_0
    const-string p1, "facebookProcessor"

    invoke-static {p1}, Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V

    const/4 p1, 0x0

    throw p1
.end method

.method public onCancel(Landroid/content/DialogInterface;)V
    .locals 3

    .line 87
    invoke-super {p0, p1}, Landroidx/fragment/app/DialogFragment;->onCancel(Landroid/content/DialogInterface;)V

    .line 89
    sget-object p1, Llt/noframe/ratemeplease/RateMePlsKotlin;->S:Llt/noframe/ratemeplease/RateMePlsKotlin$S;

    invoke-virtual {p1}, Llt/noframe/ratemeplease/RateMePlsKotlin$S;->getParentInterface()Llt/noframe/ratemeplease/java_interfaces/OnReactionInterface;

    move-result-object p1

    if-eqz p1, :cond_1

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    const-string v2, "activity!!"

    invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v2, Llt/noframe/ratemeplease/FacebookDialogFragment$REACTION;->DISMISS:Llt/noframe/ratemeplease/FacebookDialogFragment$REACTION;

    invoke-interface {p1, v0, v2, v1}, Llt/noframe/ratemeplease/java_interfaces/OnReactionInterface;->onFacebookReaction(Landroid/app/Activity;Llt/noframe/ratemeplease/FacebookDialogFragment$REACTION;Landroid/os/Bundle;)V

    goto :goto_0

    :cond_0
    invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->throwNpe()V

    throw v1

    :cond_1
    :goto_0
    return-void
.end method

.method public synthetic onDestroyView()V
    .locals 0

    invoke-super {p0}, Llt/noframe/ratemeplease/abs/AbsDialogFragment;->onDestroyView()V

    invoke-virtual {p0}, Llt/noframe/ratemeplease/FacebookDialogFragment;->_$_clearFindViewByIdCache()V

    return-void
.end method

.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
    .locals 2

    const-string v0, "view"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 48
    invoke-super {p0, p1, p2}, Llt/noframe/ratemeplease/abs/AbsDialogFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V

    .line 50
    new-instance p1, Llt/noframe/ratemeplease/social/FacebookProcessor;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p2

    const/4 v0, 0x0

    if-eqz p2, :cond_1

    const-string v1, "activity!!"

    invoke-static {p2, v1}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-direct {p1, p2}, Llt/noframe/ratemeplease/social/FacebookProcessor;-><init>(Landroid/app/Activity;)V

    iput-object p1, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->facebookProcessor:Llt/noframe/ratemeplease/social/FacebookProcessor;

    .line 52
    new-instance p1, Llt/noframe/ratemeplease/views/FacebookView;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p2

    if-eqz p2, :cond_0

    invoke-static {p2, v1}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-direct {p1, p2}, Llt/noframe/ratemeplease/views/FacebookView;-><init>(Landroid/app/Activity;)V

    .line 54
    new-instance p2, Landroid/view/ViewGroup$LayoutParams;

    const/4 v0, -0x1

    const/4 v1, -0x2

    invoke-direct {p2, v0, v1}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {p1, p2}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 56
    sget p2, Llt/noframe/ratemeplease/R$id;->pageTitle:I

    invoke-virtual {p1, p2}, Llt/noframe/ratemeplease/views/FacebookView;->_$_findCachedViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/TextView;

    const-string v0, "view.pageTitle"

    invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v0, p0, Llt/noframe/ratemeplease/FacebookDialogFragment;->pageName:Ljava/lang/String;

    invoke-virtual {p2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 63
    sget p2, Llt/noframe/ratemeplease/R$id;->followButton:I

    invoke-virtual {p1, p2}, Llt/noframe/ratemeplease/views/FacebookView;->_$_findCachedViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/LinearLayout;

    new-instance v0, Llt/noframe/ratemeplease/FacebookDialogFragment$onViewCreated$1;

    invoke-direct {v0, p0}, Llt/noframe/ratemeplease/FacebookDialogFragment$onViewCreated$1;-><init>(Llt/noframe/ratemeplease/FacebookDialogFragment;)V

    invoke-virtual {p2, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 68
    sget p2, Llt/noframe/ratemeplease/R$id;->shareButton:I

    invoke-virtual {p1, p2}, Llt/noframe/ratemeplease/views/FacebookView;->_$_findCachedViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/LinearLayout;

    new-instance v0, Llt/noframe/ratemeplease/FacebookDialogFragment$onViewCreated$2;

    invoke-direct {v0, p0}, Llt/noframe/ratemeplease/FacebookDialogFragment$onViewCreated$2;-><init>(Llt/noframe/ratemeplease/FacebookDialogFragment;)V

    invoke-virtual {p2, v0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 78
    sget p2, Llt/noframe/ratemeplease/R$id;->skipButton:I

    invoke-virtual {p1, p2}, Llt/noframe/ratemeplease/views/FacebookView;->_$_findCachedViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/Button;

    new-instance v0, Llt/noframe/ratemeplease/FacebookDialogFragment$onViewCreated$3;

    invoke-direct {v0, p0}, Llt/noframe/ratemeplease/FacebookDialogFragment$onViewCreated$3;-><init>(Llt/noframe/ratemeplease/FacebookDialogFragment;)V

    invoke-virtual {p2, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 83
    invoke-virtual {p0, p1}, Llt/noframe/ratemeplease/abs/AbsDialogFragment;->setCurrentContent(Landroid/view/View;)V

    return-void

    .line 52
    :cond_0
    invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->throwNpe()V

    throw v0

    .line 50
    :cond_1
    invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->throwNpe()V

    throw v0
.end method
